package com.atguigu.gmall.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 搭忆长安
 * @version 1.0
 * @date 2021年06月25日 20:32
 * @ClassName:ValidateActionJson
 * @Description: TODO
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.atguigu.gmall.proudct.mapper")//扫描mapper接口文件
@ComponentScan("com.atguigu.gmall") //开启某些自定义的功能
public class ProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProductApplication.class,args);
    }
}
